<template>
  <div class="errPage-container">
    <el-row style="width: 800px">
      <el-col :span="12">
        <h1 class="text-jumbo">抱歉!</h1>
        <h2>您没有权限访问该页面！</h2>
        <span class="back-info-401">如有疑问请联系管理员，<br>或点击下面的按钮返回首页。</span>
        <div @click="$routeUrl('/')" class="back-btn-401">返回首页</div>
      </el-col>
      <el-col :span="12">
        <img :src="errGif" width="313" height="428">
      </el-col>
    </el-row>
  </div>
</template>

<script>
import errGif from '../../img/401.gif'

export default {
  name: '401',
  data() {
    return {
      errGif: errGif + '?' + new Date(),
    }
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
  .errPage-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 20vh;
    .pan-gif {
      margin: 0 auto;
      display: block;
    }
    .pan-img {
      display: block;
      margin: 0 auto;
      width: 100%;
    }
    .text-jumbo {
      font-size: 40px;
      font-weight: 700;
      color: #1482f0;
      margin: 80px 0 40px;
    }
    .back-info-401 {
      font-size: 13px;
      line-height: 21px;
      color: grey;
    }
    .back-btn-401 {
      display: block;
      width: 110px;
      height: 36px;
      background: #1482f0;
      border-radius: 100px;
      text-align: center;
      color: #ffffff;
      font-size: 14px;
      line-height: 36px;
      cursor: pointer;
      text-decoration: none;
      margin-top: 30px;
    }
  }
</style>
